Enable Logging for Cisco ASA Context and IOS

You need to be able to access 'privileged exec' mode to allow you to run show commands.

To review current logging state of the device, run the command: show run | i logging

This will output every logging setting on the Cisco device. If you do not see the below commands, you can consider the device in a default logging state.

  • ASA: no logging enabled and logging device-id hostname
  • IOS: no logging on

From a default state, the commands needed to enable Cisco logging using the CLI are:

  • For ASA/IOS: logging trap informational - this sets the syslog that is forwarded to FireMon at the correct level
  • For ASA: logging host <interface_name> <IP of data collector>
  • For IOS: logging host <IP of data collector>

To enable logging:

  • ASA: logging enable
  • IOS: logging on